import request from '@/utils/request'

const api_name = '/edu/dict'


export default {

  queryPage(stu) {

    return request({
      url: `${api_name}/queryPage`,
      method: 'post',
      data:stu
     
    })
  },
  save(stu){
    return request({
        url: `${api_name}/save`,
        method: 'post',
        data:stu
      })
  },
  getbyid(id){
    return request({
        url: `${api_name}/`+id,
        method: 'get'
      })
  }, 
  del(id){
    return request({
        url: `${api_name}/`+id,
        method: 'delete'
      })
  }
  

}